#ifndef ACCOUNTIDGENERATOR_HH
#define ACCOUNTIDGENERATOR_HH

#include <string>
#include <unordered_set>


namespace mini_bank {

class AccountIdGenerator {
private:
    std::unordered_set<std::string> usedIds;
    std::string genDigits(int len);

public:
    AccountIdGenerator() = default;
    std::string generate(const std::string& typeCode);
};

} // namespace mini_bank

#endif // ACCOUNTIDGENERATOR_HH